Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: function in lss gives error variable not declared
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Application Development
Platform: Windows
Release: 8.5.3
Reproducible: Not attempted

I have an lss that contains multiple functions. One of the functions does a function call to another within a conditional statement, like so:

function myFirstFunction
blabla
if mySecondfunction(param) then
blabla
end if
blabla
end function

function mySecondFunction(parm as string) as integer
blabla
end function

The calling scriptlibrary gives me an error: variable mySecondFunction not declared. (Declaring it gives, obviously, an illegal parenthesised error)

I've solved it the rugged way: remove the Option Declare. There must be a better way?


Feedback number WEBB95CDHQ created by ~Ted Ekfreebergader on 02/28/2013

Status: Open
Comments:

function in lss gives error variabl... (~Ted Ekfreeberg... 28.Feb.13)
. . Try using the Declare statement... (~August Cispone... 28.Feb.13)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS